<script lang="ts" setup>
import { useTestStore } from '@/stores/pinia/Test'

defineOptions({
	name: 'test_Test2'
})

const test = useTestStore()

onMounted(() => {
	console.log(test.count)
	test.increment()
	console.log(test.getCount)
})
</script>

<template>
	<IsGuest>
		<div :class="{ 'text-red font-size-20': true }" v-for="i in 10" :key="i">test2</div>
	</IsGuest>
</template>

<style scoped></style>
